package fr.hoteia.appengine.archetype.client;

/**
 * Constant values used throughout the application.
 *
 * <p>
 * <a href="Constants.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author Denis GOSSET <a href="http://www.hoteia.com"><i>Hoteia.com</i></a>
 * 
 */
public class Constants {

// GLOBAL

	public static final String APP_NAME = "Hoteia";

	public static final String UTF8 = "UTF8";
	public static final String ANSI = "ISO-8859-1";

    public static final String CSV_EXTENSION = ".csv";
    public static final String TXT_EXTENSION = ".txt";
    public static final String XLS_EXTENSION = ".xls";
    public static final String XML_EXTENSION = ".xml";
    public static final String ZIP_EXTENSION = ".zip";
    
    public static final String NULL = "null";
    public static final String THREE_DOT = "...";
    public static final String EMPTY = "";
	public static final String UNDERSCORE = "_";
	public static final String DASH = "-";
	public static final String DOT = ".";
	public static final String COLON = ":";
	public static final String PIPE = "|";
	public static final String SLASH = "/";
	public static final String EQUALS = "=";
	public static final String SPACE = " ";
	public static final String POUND = "#";
	public static final String STAR = "*";
	public static final String EXLCLAMATION_MARK = "!";
	public static final String QUESTION_MARK = "?";
	public static final String CR = "\r\n";
	public static final String COMMA = ",";
	public static final String SEMI_COLON = ";";
	public static final String LEFT_PARENTHESIS = "(";
	public static final String RIGHT_PARENTHESIS = ")";
	public static final String LEFT_SQUARE_BRACKET = "[";
	public static final String RIGHT_SQUARE_BRACKET = "]";
	
	public static final String SPACE_COLON_SPACE = " : ";
	public static final String SPACE_PIPE_SPACE = " | ";
	public static final String SPACE_DASH_SPACE = " - ";
	public static final String COMMA_SPACE = ", ";
	public static final String SPACE_STAR_SPACE = " * ";    

    public static final String REFERER = "Referer";
    public static final String HOST = "Host";
	public static final String HTTP = "Http";
	public static final String HTTP_COLON_SLASH_SLASH = "http://";

	public static final String GOOGLE_OAUTH_SIGNATURE_METHOD = "RSA-SHA1";
	
    public static final String KEY = "key";
    public static final String LOCALE = "locale";
    public static final String COUNTRY_CODE = "countryCode";
    public static final String LANGUAGE_CODE = "languageCode";
    public static final String LOCALE_FR = "fr";
    public static final String LOCALE_EN = "en";
    
	public static final String CURRENT_APPLICATION_LOCALE = "currentApplicationLocale";
	public static final String DYNAMIC_LOCALE = "dynamicLocale";
	
    public static final String METHOD = "method";
    public static final String FROM = "from";
    public static final String TYPE = "type";
    public static final String CATEGORY_KEYNAME = "categoryKeyName";
    public static final String TYPE_KEYNAME = "typeKeyName";
    public static final String PARAMETER_KEYNAME = "parameterKeyName";
    public static final String AD_PARAM_REF = "adRef";
    public static final String ENABLE = "enable";
    public static final String FORMAT = "format";
    public static final String TARGET_KEYNAME = "targetKeyName";
    public static final String TARGET_TYPE = "targetType";
    public static final String ENCODE_KEY = "encodeKey";
    public static final String ALPHA = "alpha";
    
    public static final String ADD = "Add";
    public static final String DELETE = "Delete";
    public static final String EDIT = "Edit";
    public static final String REMOVE = "Remove";
    public static final String SAVE = "Save";
    public static final String VIEW = "View";
    public static final String FEEDBACK = "Feedback";
    public static final String EMAIL = "email";
    
    public static final String TRUE = "true";
    public static final String FALSE = "false";
    
    public static final String PDF = "pdf";

    public static final String FILE_NAME = "fileName";
    public static final String CONTENT_TYPE = "contentType";

    public static final String UNIVER_HOME = "home";
    
	public static final String LANGUAGE_DEFAULT_CODE = "fr";
	public static final String LANGUAGE_DEFAULT_KEYNAME = "LANGUAGE00001";
    
    public static final String LANGUAGE_FORMAT_TYPE_FULL = "FULL_DATE";
    public static final String LANGUAGE_FORMAT_TYPE_SHORT = "SHORT_DATE";
    
	public static final String URL_EXTENTION = ".html";
	
	public static final String CLICKSTREAM_FILTER_PATH = "/sc"; // sc for Spring Controller
	
	public static final String PARAM_ACTION = "action";

	public static final String URL_PATH_HOME = "home";
	
    public static final int GLOBAL_CACHE_EXPIRATION_DELTA = 1800;
    
	public static final String HOTEIA_EMAIL_ADMIN = "youremail@yourdomain.com";
	public static final String HOTEIA_EMAIL_ADMIN_NAME = "YOUR ADMIN";
	public static final String HOTEIA_EMAIL_CONTACT = "youremail@yourdomain.com";
	public static final String HOTEIA_EMAIL_CONTACT_NAME = "YOUR CONTACT";
	public static final String HOTEIA_EMAIL_MASTER_ADMIN = "youremail@yourdomain.com";
	public static final String HOTEIA_EMAIL_MASTER_ADMIN_NAME = "YOUR MASTER ADMIN";
	
//  Portal-START

    public static final String PORTAL_CACHE = "portalCache";
	public static final String PORTAL_CACHE_GOOGLE_AP_ENGINE_ID_IN_CACHE = "googleAppEngineIdInCache";

    public static final int PORTAL_CACHE_EXPIRATION_DELTA = GLOBAL_CACHE_EXPIRATION_DELTA;
    public static final String PORTAL_CACHE_CURRENT_UNIVER = "currentUniverInCache";
    
//  Portal-END
    
}
